/**
 * 公司信息
 */
import store from '@/store';
const company = store.getters.companyInfo;
const dt = company.Company;

export default [
  {
    left: '登记信息',
    children: [
      {
        left: '法定代表人',
        content: dt.Oper.Name,
        link: '',
        icon: '',
        right: `他关联${dt.Oper.CompanyCount || 0}家公司`
      },
      {
        left: '成立日期',
        content: dt.StartDate,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '注册资本',
        content: dt.RegistCapi,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '企业类型',
        content: dt.EconKind,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '登记状态',
        content: dt.ShortStatus,
        link: '',
        icon: '',
        right: ''
      }
    ]
  },
  {
    left: '',
    children: [
      {
        left: '统一社会信用代码',
        content: dt.CreditCode,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '工商注册号',
        content: dt.No,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '组织机构代码',
        content: dt.OrgNo,
        link: '',
        icon: '',
        right: ''
      }
    ]
  },
  {
    left: '',
    children: [
      {
        left: '英文',
        content: dt.EnglishName,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '所属行业',
        content: dt.Industry.Industry,
        link: '',
        icon: '',
        right: ''
      }
    ]
  },
  {
    left: '',
    children: [
      {
        left: '经营范围',
        content: dt.Scope,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '公司地址',
        content: dt.Address,
        link: '',
        icon: '',
        right: ''
      }
    ]
  },
  {
    left: '',
    children: [
      {
        left: '营业期限',
        content: `${dt.TermStart || '-'}至${dt.TermEnd || '-'}`,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '核准日期',
        content: dt.CheckDate,
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '登记机关',
        content: dt.BelongOrg,
        link: '',
        icon: '',
        right: ''
      }
    ]
  }
];
